/*0GI1xcoeligdpMeXoHBphnunOJ2g4dCU5YFZD890LI7V37gyxNxxDOEAL2M5cs25*/
import { tableId } from '../constants';
import {innerButton} from '../../../../public/components/pubUtils/buttonName.js';


export default function (props, key, text, record, index) {
    switch (key) {
        // 表格操修改
        case innerButton.open_browse:
            props.cardTable.toggleRowView(tableId, record);
            break;
        case innerButton.open_edit:
            props.cardTable.openModel(tableId, 'edit', record, index);
            break;
        default:
            break;
    }
};

/*0GI1xcoeligdpMeXoHBphnunOJ2g4dCU5YFZD890LI7V37gyxNxxDOEAL2M5cs25*/